Optimal. Leaf size=134 \[ 140 c^2 d^8 \left (b^2-4 a c\right ) (b+2 c x)-140 c^2 d^8 \left (b^2-4 a c\right )^{3/2} \tanh ^{-1}\left (\frac {b+2 c x}{\sqrt {b^2-4 a c}}\right )-\frac {7 c d^8 (b+2 c x)^5}{a+b x+c x^2}-\frac {d^8 (b+2 c x)^7}{2 \left (a+b x+c x^2\right )^2}+\frac {140}{3} c^2 d^8 (b+2 c x)^3 \]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 134, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {686, 692, 618, 206} \begin {gather*} 140 c^2 d^8 \left (b^2-4 a c\right ) (b+2 c x)-140 c^2 d^8 \left (b^2-4 a c\right )^{3/2} \tanh ^{-1}\left (\frac {b+2 c x}{\sqrt {b^2-4 a c}}\right )-\frac {7 c d^8 (b+2 c x)^5}{a+b x+c x^2}-\frac {d^8 (b+2 c x)^7}{2 \left (a+b x+c x^2\right )^2}+\frac {140}{3} c^2 d^8 (b+2 c x)^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 618
Rule 686
Rule 692
Rubi steps
\begin {align*} \int \frac {(b d+2 c d x)^8}{\left (a+b x+c x^2\right )^3} \, dx &=-\frac {d^8 (b+2 c x)^7}{2 \left (a+b x+c x^2\right )^2}+\left (7 c d^2\right ) \int \frac {(b d+2 c d x)^6}{\left (a+b x+c x^2\right )^2} \, dx\\ &=-\frac {d^8 (b+2 c x)^7}{2 \left (a+b x+c x^2\right )^2}-\frac {7 c d^8 (b+2 c x)^5}{a+b x+c x^2}+\left (70 c^2 d^4\right ) \int \frac {(b d+2 c d x)^4}{a+b x+c x^2} \, dx\\ &=\frac {140}{3} c^2 d^8 (b+2 c x)^3-\frac {d^8 (b+2 c x)^7}{2 \left (a+b x+c x^2\right )^2}-\frac {7 c d^8 (b+2 c x)^5}{a+b x+c x^2}+\left (70 c^2 \left (b^2-4 a c\right ) d^6\right ) \int \frac {(b d+2 c d x)^2}{a+b x+c x^2} \, dx\\ &=140 c^2 \left (b^2-4 a c\right ) d^8 (b+2 c x)+\frac {140}{3} c^2 d^8 (b+2 c x)^3-\frac {d^8 (b+2 c x)^7}{2 \left (a+b x+c x^2\right )^2}-\frac {7 c d^8 (b+2 c x)^5}{a+b x+c x^2}+\left (70 c^2 \left (b^2-4 a c\right )^2 d^8\right ) \int \frac {1}{a+b x+c x^2} \, dx\\ &=140 c^2 \left (b^2-4 a c\right ) d^8 (b+2 c x)+\frac {140}{3} c^2 d^8 (b+2 c x)^3-\frac {d^8 (b+2 c x)^7}{2 \left (a+b x+c x^2\right )^2}-\frac {7 c d^8 (b+2 c x)^5}{a+b x+c x^2}-\left (140 c^2 \left (b^2-4 a c\right )^2 d^8\right ) \operatorname {Subst}\left (\int \frac {1}{b^2-4 a c-x^2} \, dx,x,b+2 c x\right )\\ &=140 c^2 \left (b^2-4 a c\right ) d^8 (b+2 c x)+\frac {140}{3} c^2 d^8 (b+2 c x)^3-\frac {d^8 (b+2 c x)^7}{2 \left (a+b x+c x^2\right )^2}-\frac {7 c d^8 (b+2 c x)^5}{a+b x+c x^2}-140 c^2 \left (b^2-4 a c\right )^{3/2} d^8 \tanh ^{-1}\left (\frac {b+2 c x}{\sqrt {b^2-4 a c}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 142, normalized size = 1.06 \begin {gather*} d^8 \left (-256 c^3 x \left (3 a c-b^2\right )+140 c^2 \left (4 a c-b^2\right )^{3/2} \tan ^{-1}\left (\frac {b+2 c x}{\sqrt {4 a c-b^2}}\right )-\frac {13 c \left (b^2-4 a c\right )^2 (b+2 c x)}{a+x (b+c x)}-\frac {\left (b^2-4 a c\right )^3 (b+2 c x)}{2 (a+x (b+c x))^2}+128 b c^4 x^2+\frac {256 c^5 x^3}{3}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(b d+2 c d x)^8}{\left (a+b x+c x^2\right )^3} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.41, size = 868, normalized size = 6.48 \begin {gather*} \left [\frac {512 \, c^{7} d^{8} x^{7} + 1792 \, b c^{6} d^{8} x^{6} + 3584 \, {\left (b^{2} c^{5} - a c^{6}\right )} d^{8} x^{5} + 256 \, {\left (15 \, b^{3} c^{4} - 26 \, a b c^{5}\right )} d^{8} x^{4} + 4 \, {\left (345 \, b^{4} c^{3} + 312 \, a b^{2} c^{4} - 2800 \, a^{2} c^{5}\right )} d^{8} x^{3} - 6 \, {\left (39 \, b^{5} c^{2} - 824 \, a b^{3} c^{3} + 2032 \, a^{2} b c^{4}\right )} d^{8} x^{2} - 12 \, {\left (7 \, b^{6} c - 45 \, a b^{4} c^{2} - 104 \, a^{2} b^{2} c^{3} + 560 \, a^{3} c^{4}\right )} d^{8} x - 3 \, {\left (b^{7} + 14 \, a b^{5} c - 160 \, a^{2} b^{3} c^{2} + 352 \, a^{3} b c^{3}\right )} d^{8} - 420 \, {\left ({\left (b^{2} c^{4} - 4 \, a c^{5}\right )} d^{8} x^{4} + 2 \, {\left (b^{3} c^{3} - 4 \, a b c^{4}\right )} d^{8} x^{3} + {\left (b^{4} c^{2} - 2 \, a b^{2} c^{3} - 8 \, a^{2} c^{4}\right )} d^{8} x^{2} + 2 \, {\left (a b^{3} c^{2} - 4 \, a^{2} b c^{3}\right )} d^{8} x + {\left (a^{2} b^{2} c^{2} - 4 \, a^{3} c^{3}\right )} d^{8}\right )} \sqrt {b^{2} - 4 \, a c} \log \left (\frac {2 \, c^{2} x^{2} + 2 \, b c x + b^{2} - 2 \, a c + \sqrt {b^{2} - 4 \, a c} {\left (2 \, c x + b\right )}}{c x^{2} + b x + a}\right )}{6 \, {\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )}}, \frac {512 \, c^{7} d^{8} x^{7} + 1792 \, b c^{6} d^{8} x^{6} + 3584 \, {\left (b^{2} c^{5} - a c^{6}\right )} d^{8} x^{5} + 256 \, {\left (15 \, b^{3} c^{4} - 26 \, a b c^{5}\right )} d^{8} x^{4} + 4 \, {\left (345 \, b^{4} c^{3} + 312 \, a b^{2} c^{4} - 2800 \, a^{2} c^{5}\right )} d^{8} x^{3} - 6 \, {\left (39 \, b^{5} c^{2} - 824 \, a b^{3} c^{3} + 2032 \, a^{2} b c^{4}\right )} d^{8} x^{2} - 12 \, {\left (7 \, b^{6} c - 45 \, a b^{4} c^{2} - 104 \, a^{2} b^{2} c^{3} + 560 \, a^{3} c^{4}\right )} d^{8} x - 3 \, {\left (b^{7} + 14 \, a b^{5} c - 160 \, a^{2} b^{3} c^{2} + 352 \, a^{3} b c^{3}\right )} d^{8} - 840 \, {\left ({\left (b^{2} c^{4} - 4 \, a c^{5}\right )} d^{8} x^{4} + 2 \, {\left (b^{3} c^{3} - 4 \, a b c^{4}\right )} d^{8} x^{3} + {\left (b^{4} c^{2} - 2 \, a b^{2} c^{3} - 8 \, a^{2} c^{4}\right )} d^{8} x^{2} + 2 \, {\left (a b^{3} c^{2} - 4 \, a^{2} b c^{3}\right )} d^{8} x + {\left (a^{2} b^{2} c^{2} - 4 \, a^{3} c^{3}\right )} d^{8}\right )} \sqrt {-b^{2} + 4 \, a c} \arctan \left (-\frac {\sqrt {-b^{2} + 4 \, a c} {\left (2 \, c x + b\right )}}{b^{2} - 4 \, a c}\right )}{6 \, {\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.17, size = 315, normalized size = 2.35 \begin {gather*} \frac {140 \, {\left (b^{4} c^{2} d^{8} - 8 \, a b^{2} c^{3} d^{8} + 16 \, a^{2} c^{4} d^{8}\right )} \arctan \left (\frac {2 \, c x + b}{\sqrt {-b^{2} + 4 \, a c}}\right )}{\sqrt {-b^{2} + 4 \, a c}} - \frac {52 \, b^{4} c^{3} d^{8} x^{3} - 416 \, a b^{2} c^{4} d^{8} x^{3} + 832 \, a^{2} c^{5} d^{8} x^{3} + 78 \, b^{5} c^{2} d^{8} x^{2} - 624 \, a b^{3} c^{3} d^{8} x^{2} + 1248 \, a^{2} b c^{4} d^{8} x^{2} + 28 \, b^{6} c d^{8} x - 180 \, a b^{4} c^{2} d^{8} x + 96 \, a^{2} b^{2} c^{3} d^{8} x + 704 \, a^{3} c^{4} d^{8} x + b^{7} d^{8} + 14 \, a b^{5} c d^{8} - 160 \, a^{2} b^{3} c^{2} d^{8} + 352 \, a^{3} b c^{3} d^{8}}{2 \, {\left (c x^{2} + b x + a\right )}^{2}} + \frac {128 \, {\left (2 \, c^{14} d^{8} x^{3} + 3 \, b c^{13} d^{8} x^{2} + 6 \, b^{2} c^{12} d^{8} x - 18 \, a c^{13} d^{8} x\right )}}{3 \, c^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 526, normalized size = 3.93 \begin {gather*} -\frac {416 a^{2} c^{5} d^{8} x^{3}}{\left (c \,x^{2}+b x +a \right )^{2}}+\frac {208 a \,b^{2} c^{4} d^{8} x^{3}}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {26 b^{4} c^{3} d^{8} x^{3}}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {624 a^{2} b \,c^{4} d^{8} x^{2}}{\left (c \,x^{2}+b x +a \right )^{2}}+\frac {312 a \,b^{3} c^{3} d^{8} x^{2}}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {39 b^{5} c^{2} d^{8} x^{2}}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {352 a^{3} c^{4} d^{8} x}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {48 a^{2} b^{2} c^{3} d^{8} x}{\left (c \,x^{2}+b x +a \right )^{2}}+\frac {90 a \,b^{4} c^{2} d^{8} x}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {14 b^{6} c \,d^{8} x}{\left (c \,x^{2}+b x +a \right )^{2}}+\frac {256 c^{5} d^{8} x^{3}}{3}-\frac {176 a^{3} b \,c^{3} d^{8}}{\left (c \,x^{2}+b x +a \right )^{2}}+\frac {80 a^{2} b^{3} c^{2} d^{8}}{\left (c \,x^{2}+b x +a \right )^{2}}+\frac {2240 a^{2} c^{4} d^{8} \arctan \left (\frac {2 c x +b}{\sqrt {4 a c -b^{2}}}\right )}{\sqrt {4 a c -b^{2}}}-\frac {7 a \,b^{5} c \,d^{8}}{\left (c \,x^{2}+b x +a \right )^{2}}-\frac {1120 a \,b^{2} c^{3} d^{8} \arctan \left (\frac {2 c x +b}{\sqrt {4 a c -b^{2}}}\right )}{\sqrt {4 a c -b^{2}}}-\frac {b^{7} d^{8}}{2 \left (c \,x^{2}+b x +a \right )^{2}}+\frac {140 b^{4} c^{2} d^{8} \arctan \left (\frac {2 c x +b}{\sqrt {4 a c -b^{2}}}\right )}{\sqrt {4 a c -b^{2}}}+128 b \,c^{4} d^{8} x^{2}-768 a \,c^{4} d^{8} x +256 b^{2} c^{3} d^{8} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.54, size = 368, normalized size = 2.75 \begin {gather*} \frac {256\,c^5\,d^8\,x^3}{3}-\frac {x^2\,\left (624\,a^2\,b\,c^4\,d^8-312\,a\,b^3\,c^3\,d^8+39\,b^5\,c^2\,d^8\right )+x\,\left (352\,a^3\,c^4\,d^8+48\,a^2\,b^2\,c^3\,d^8-90\,a\,b^4\,c^2\,d^8+14\,b^6\,c\,d^8\right )+\frac {b^7\,d^8}{2}+x^3\,\left (416\,a^2\,c^5\,d^8-208\,a\,b^2\,c^4\,d^8+26\,b^4\,c^3\,d^8\right )+176\,a^3\,b\,c^3\,d^8-80\,a^2\,b^3\,c^2\,d^8+7\,a\,b^5\,c\,d^8}{x^2\,\left (b^2+2\,a\,c\right )+a^2+c^2\,x^4+2\,a\,b\,x+2\,b\,c\,x^3}-x\,\left (768\,c^3\,d^8\,\left (b^2+a\,c\right )-1024\,b^2\,c^3\,d^8\right )+128\,b\,c^4\,d^8\,x^2+140\,c^2\,d^8\,\mathrm {atan}\left (\frac {70\,b\,c^2\,d^8\,{\left (4\,a\,c-b^2\right )}^{3/2}+140\,c^3\,d^8\,x\,{\left (4\,a\,c-b^2\right )}^{3/2}}{1120\,a^2\,c^4\,d^8-560\,a\,b^2\,c^3\,d^8+70\,b^4\,c^2\,d^8}\right )\,{\left (4\,a\,c-b^2\right )}^{3/2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 5.43, size = 469, normalized size = 3.50 \begin {gather*} 128 b c^{4} d^{8} x^{2} + \frac {256 c^{5} d^{8} x^{3}}{3} - 70 c^{2} d^{8} \sqrt {- \left (4 a c - b^{2}\right )^{3}} \log {\left (x + \frac {280 a b c^{3} d^{8} - 70 b^{3} c^{2} d^{8} - 70 c^{2} d^{8} \sqrt {- \left (4 a c - b^{2}\right )^{3}}}{560 a c^{4} d^{8} - 140 b^{2} c^{3} d^{8}} \right )} + 70 c^{2} d^{8} \sqrt {- \left (4 a c - b^{2}\right )^{3}} \log {\left (x + \frac {280 a b c^{3} d^{8} - 70 b^{3} c^{2} d^{8} + 70 c^{2} d^{8} \sqrt {- \left (4 a c - b^{2}\right )^{3}}}{560 a c^{4} d^{8} - 140 b^{2} c^{3} d^{8}} \right )} + x \left (- 768 a c^{4} d^{8} + 256 b^{2} c^{3} d^{8}\right ) + \frac {- 352 a^{3} b c^{3} d^{8} + 160 a^{2} b^{3} c^{2} d^{8} - 14 a b^{5} c d^{8} - b^{7} d^{8} + x^{3} \left (- 832 a^{2} c^{5} d^{8} + 416 a b^{2} c^{4} d^{8} - 52 b^{4} c^{3} d^{8}\right ) + x^{2} \left (- 1248 a^{2} b c^{4} d^{8} + 624 a b^{3} c^{3} d^{8} - 78 b^{5} c^{2} d^{8}\right ) + x \left (- 704 a^{3} c^{4} d^{8} - 96 a^{2} b^{2} c^{3} d^{8} + 180 a b^{4} c^{2} d^{8} - 28 b^{6} c d^{8}\right )}{2 a^{2} + 4 a b x + 4 b c x^{3} + 2 c^{2} x^{4} + x^{2} \left (4 a c + 2 b^{2}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________